{% extends "layout.html" %}
{% from "macros/_form.html" import render_errors %}

{%- block content %}
<form action="" method="post" class="form-horizontal">
    {{ form.hidden_tag() }}
  <div class="form-group">
    <label class="col-sm-2 control-label">Nickname</label>
    <div class="col-sm-3">
        {{form.nickname(size=30,class="form-control",id="nickname")}}
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">Location</label>
    <div class="col-sm-3">
        {{form.location(size=30,class="form-control",id="location")}}
    </div>
  </div>
    <div class="form-group">
    <label class="col-sm-2 control-label">AboutMe</label>
    <div class="col-sm-3">
        {{form.about_me(class="form-control",id="about_me")}}
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default">Submit</button>
    </div>
  </div>
</form>
{%- endblock %}